package com.xdcplus.web.common.pojo.entity.alarm;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 设备告警码表(ToolAlarmCode)表实体类
 * 
 * @author bullion.yan
 * @since 2024-06-05 16:16:14
 */
@Data
@ApiModel(description = "")
@SuppressWarnings("serial")
@TableName("TOOL_ALARM_CODE")
public class ToolAlarmCode implements Serializable {
    private static final long serialVersionUID = -58769325535129880L;
            
    @ApiModelProperty("主键")
    private Long id;
            
    @ApiModelProperty("创建人")
    private String createdUser;
            
    @ApiModelProperty("创建时间")
    private Timestamp createdTime;
            
    @ApiModelProperty("更新人")
    private String updatedUser;
            
    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;
            
    @ApiModelProperty("告警组ID")
    private Long groupIdFk;
            
    @ApiModelProperty("是否报修")
    private Long isFault;
            
    @ApiModelProperty("故障部门")
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Long faultDepartmentIdFk;
            
    @ApiModelProperty("故障类型(设备故障、机械故障、电气故障等)")
    private String faultType;
            
    @ApiModelProperty("告警内容")
    private String alarmContent;
            
    @ApiModelProperty("告警等级")
    private String alarmGrade;
            
    @ApiModelProperty("告警码")
    private String alarmCode;
}
